<extend name="Index/index" />
<block name="center">

<div class="panel panel-blue">
    <div class="panel-heading">修改配置</div>
	    <div class="panel-body pan">
	        	<form action="{:U('Admin/Web/update')}" class="form-horizontal" method="post" enctype="multipart/form-data">
	            	<div class="form-actions top">
	                	
	            	</div>
	            	<div class="form-body pal">
		                <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站标题 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="title" class="form-control" value="{$info['0']['title']}" style="width:300px"></div>
		                    </div>
	                	</div>
	               	<div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站关键字 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="keywords" class="form-control" value="{$info['0']['keywords']}" style="width:300px"></div>
		                    </div>
	                	</div>
                    <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站logo <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="file" name="logo" value="上传" class="uniform-file" class="form-control"/></div>
		                    </div>
	                	</div>
	                <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站邮箱 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="webemail" class="form-control" value="{$info['0']['webemail']}" style="width:300px"></div>
		                    </div>
	                	</div>	
	                <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站手机号 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="webphone" class="form-control" value="{$info['0']['webphone']}" style="width:300px"></div>
		                    </div>
	                	</div>
	                <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">备案信息 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="icpno" class="form-control" value="{$info['0']['icpno']}" style="width:300px"></div>
		                    </div>
	                	</div>	
	                 <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站地址 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">                          
                                <div style="float:left"><input type="text" name="address" class="form-control" value="{$info['0']['address']}" style="width:300px"></div>
		                    </div>
	                	</div>		
	                <div class="form-group">
		                    <label for="inputAddress" class="col-md-3 control-label">网站描述 <span class="require">*</span>
		                    </label>
		                    <div class="col-md-9">
                                <div class="input-icon right" ><i class="fa fa-location-arrow"></i>
                                <textarea name="description" id="" cols="41" rows="5">{$info['0']['description']}</textarea>	
                            	</div>
	            			</div>
					</div>
					<div class="form-group">
						   <label for="inputAddress" class="col-md-3 control-label"> 网站开关<span class="require">*</span>
						   </label>
						   	<div style="float:left">
						   		<select class="form-control" name="switch" style="width:300px">
                                        <option value="0" <if condition="$info['0']['switch'] eq '0'"> selected</if>>关闭</option>
                                        <option value="1" <if condition="$info['0']['switch'] eq '1'"> selected</if> >开启</option>
                                </select></div><div style="float:left"></div>		
					</div>
	            	<div class="form-actions">
	                	<div class="col-md-offset-3 col-md-9">
                            <input type="hidden" name="id" value="{$info['0']['id']}">
		                    <button type="submit" class="btn btn-primary">修改</button>&nbsp;
		                    <button type="reset" class="btn btn-green">重置</button>
	                	</div>
	            	</div>
	        	</form>
	   	 	</div>
		</div>
</block>
